export default {
  deviewCodeName: 'panel_multi_data_container_raw',
  deviewId: '1bb1e2a21efe861b8dc8ea6b151e0d84',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '面板_多项数据容器（仅数据）',
  codeName: 'master_panel_multi_data_container_raw',
  appDataEntityId: 'web.master',
  viewLayoutPanel: {
    layoutBodyOnly: true,
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            rawItem: {
              caption: '列表',
              halign: 'LEFT',
              renderMode: 'TEXT',
              valign: 'MIDDLE',
              wrapMode: 'NOWRAP',
              contentType: 'RAW',
              predefinedType: 'STATIC_TEXT',
              id: 'static_text',
            },
            caption: '文本',
            itemStyle: 'DEFAULT',
            itemType: 'RAWITEM',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            showCaption: true,
            id: 'static_text',
          },
          {
            caption: '列表',
            itemStyle: 'DEFAULT',
            itemType: 'CTRLPOS',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
              spacingBottom: 'INNERMEDIUM',
              spacingTop: 'INNERMEDIUM',
            },
            showCaption: true,
            id: 'list',
          },
          {
            rawItem: {
              caption: '表格',
              halign: 'LEFT',
              renderMode: 'TEXT',
              valign: 'MIDDLE',
              wrapMode: 'NOWRAP',
              contentType: 'RAW',
              predefinedType: 'STATIC_TEXT',
              id: 'static_text1',
            },
            caption: '文本',
            itemStyle: 'DEFAULT',
            itemType: 'RAWITEM',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            showCaption: true,
            id: 'static_text1',
          },
          {
            caption: '表格',
            itemStyle: 'DEFAULT',
            itemType: 'CTRLPOS',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
              spacingBottom: 'INNERMEDIUM',
              spacingTop: 'INNERMEDIUM',
            },
            showCaption: true,
            id: 'grid',
          },
        ],
        predefinedType: 'CONTAINER_MULTIDATA_RAW',
        layout: {
          layout: 'FLEX',
        },
        dataRegionType: 'MULTIDATA_RAW',
        dataSourceType: 'CUSTOM',
        scriptCode:
          '[\n{srfkey: \'simple1\',name:"演示数据1",num:10,quantity:10,type:1,create_time:"2025-02-23"},\n{srfkey: \'simple2\',name:"演示数据2",num:20,quantity:20,type:1,create_time:"2025-02-23"},\n{srfkey: \'simple3\',name:"演示数据3",num:30,quantity:30,type:1,create_time:"2025-02-23"},\n]',
        caption: '多项数据容器（仅数据）',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          shrink: 1,
          layout: 'FLEX',
        },
        id: 'container_multidata_raw',
      },
    ],
    layoutPanel: true,
    controls: [
      {
        aggMode: 'NONE',
        columnEnableFilter: 2,
        columnEnableLink: 2,
        groupMode: 'NONE',
        groupStyle: 'DEFAULT',
        orderValueAppDEFieldId: 'px',
        degridColumns: [
          {
            clconvertMode: 'NONE',
            dataItemName: 'name',
            excelCaption: '名称',
            appDEFieldId: 'name',
            valueType: 'SIMPLE',
            aggMode: 'NONE',
            align: 'LEFT',
            capLanguageRes: {
              lanResTag: 'DEF.LNAME.MASTER.NAME',
            },
            caption: '名称',
            codeName: 'name',
            columnType: 'DEFGRIDCOLUMN',
            noPrivDisplayMode: 1,
            width: 100,
            widthUnit: 'PX',
            enableSort: true,
            id: 'name',
          },
          {
            clconvertMode: 'NONE',
            dataItemName: 'quantity',
            excelCaption: '数量',
            appDEFieldId: 'quantity',
            valueType: 'SIMPLE',
            aggMode: 'NONE',
            align: 'LEFT',
            caption: '数量',
            codeName: 'quantity',
            columnType: 'DEFGRIDCOLUMN',
            noPrivDisplayMode: 1,
            width: 100,
            widthUnit: 'PX',
            enableSort: true,
            id: 'quantity',
          },
          {
            clconvertMode: 'FRONT',
            dataItemName: 'type',
            excelCaption: '类型',
            appCodeListId: 'web.mock__cl_categories',
            appDEFieldId: 'type',
            valueType: 'SIMPLE',
            aggMode: 'NONE',
            align: 'LEFT',
            caption: '类型',
            codeName: 'type',
            columnType: 'DEFGRIDCOLUMN',
            noPrivDisplayMode: 1,
            width: 100,
            widthUnit: 'PX',
            enableSort: true,
            id: 'type',
          },
          {
            clconvertMode: 'NONE',
            dataItemName: 'create_time',
            excelCaption: '创建时间',
            appDEFieldId: 'create_time',
            valueFormat: 'YYYY-MM-DD HH:mm:ss',
            valueType: 'SIMPLE',
            aggMode: 'NONE',
            align: 'LEFT',
            capLanguageRes: {
              lanResTag: 'DEF.LNAME.MASTER.CREATE_TIME',
            },
            caption: '创建时间',
            codeName: 'create_time',
            columnType: 'DEFGRIDCOLUMN',
            noPrivDisplayMode: 1,
            width: 100,
            widthUnit: 'PX',
            enableSort: true,
            id: 'create_time',
          },
        ],
        degridDataItems: [
          {
            appDEFieldId: 'name',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'name',
          },
          {
            appDEFieldId: 'quantity',
            valueType: 'SIMPLE',
            dataType: 6,
            id: 'quantity',
          },
          {
            appDEFieldId: 'type',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'type',
          },
          {
            format: 'YYYY-MM-DD HH:mm:ss',
            appDEFieldId: 'create_time',
            valueType: 'SIMPLE',
            dataType: 5,
            id: 'create_time',
          },
          {
            appDEFieldId: 'id',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'srfkey',
          },
          {
            appDEFieldId: 'id',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'srfdataaccaction',
          },
          {
            appDEFieldId: 'region_id',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'region_id',
          },
          {
            appDEFieldId: 'category_type',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'srfdatatype',
          },
          {
            appDEFieldId: 'category_type',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'category_type',
          },
          {
            appDEFieldId: 'category_id',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'category_id',
          },
          {
            appDEFieldId: 'name',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'srfmajortext',
          },
          {
            appDEFieldId: 'wf_status',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'wf_status',
          },
        ],
        degridEditItems: [
          {
            caption: '标识',
            codeName: 'srfkey',
            enableCond: 3,
            appDEFieldId: 'id',
            editor: {
              editorType: 'HIDDEN',
              valueType: 'SIMPLE',
              editable: true,
              id: 'srfkey',
            },
            allowEmpty: true,
            id: 'srfkey',
          },
        ],
        pagingSize: 20,
        sortMode: 'REMOTE',
        hasWFDataItems: true,
        enableCustomized: true,
        singleSelect: true,
        navViewPos: 'NONE',
        fetchControlAction: {
          appDEMethodId: 'fetch_default',
          appDataEntityId: 'web.master',
          id: 'fetch',
        },
        removeControlAction: {
          appDEMethodId: 'remove',
          appDataEntityId: 'web.master',
          id: 'remove',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'multiple_raw_grid',
        controlType: 'GRID',
        logicName: '多数据（仅数据）表格',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'grid',
        },
        modelId: '7469cdd2a0293ec68ca5be8c7f9ad05d',
        modelType: 'PSDEGRID',
        name: 'grid',
        id: 'web.master.multiple_raw_grid',
      },
      {
        groupMode: 'NONE',
        groupStyle: 'DEFAULT',
        itemLayoutPanel: {
          layoutMode: 'FLEX',
          layout: {
            layout: 'FLEX',
          },
          rootPanelItems: [
            {
              actionGroupExtractMode: 'ITEM',
              panelItems: [
                {
                  editor: {
                    halign: 'LEFT',
                    renderMode: 'TEXT_DYNAMIC',
                    valign: 'MIDDLE',
                    wrapMode: 'NOWRAP',
                    editorType: 'SPAN',
                    predefinedType: 'FIELD_TEXT_DYNAMIC',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'field_text_dynamic',
                  },
                  valueFormat: '名称：@',
                  viewFieldName: 'name',
                  allowEmpty: true,
                  caption: '文本(动态)',
                  itemStyle: 'DEFAULT',
                  itemType: 'FIELD',
                  layoutPos: {
                    shrink: 1,
                    layout: 'FLEX',
                    spacingRight: 'INNERSMALL',
                  },
                  id: 'field_text_dynamic',
                },
                {
                  editor: {
                    halign: 'LEFT',
                    renderMode: 'TEXT_DYNAMIC',
                    valign: 'MIDDLE',
                    wrapMode: 'NOWRAP',
                    editorType: 'SPAN',
                    predefinedType: 'FIELD_TEXT_DYNAMIC',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'field_text_dynamic1',
                  },
                  valueFormat: '数量：#,###',
                  viewFieldName: 'num',
                  allowEmpty: true,
                  caption: '文本(动态)',
                  itemStyle: 'DEFAULT',
                  itemType: 'FIELD',
                  layoutPos: {
                    shrink: 1,
                    layout: 'FLEX',
                  },
                  id: 'field_text_dynamic1',
                },
              ],
              layout: {
                align: 'flex-start',
                dir: 'row',
                layout: 'FLEX',
              },
              dataRegionType: 'INHERIT',
              itemStyle: 'DEFAULT',
              itemType: 'CONTAINER',
              layoutPos: {
                shrink: 1,
                layout: 'FLEX',
              },
              id: 'container1',
            },
          ],
          layoutPanel: true,
          codeName: 'aa582f43107aa843235',
          controlType: 'PANEL',
          logicName: 'muldata_raw_list列表',
          appDataEntityId: 'web.master',
          controlParam: {},
          modelId: '9e1bc478d2c45463747188e4fce1def1',
          modelType: 'PSSYSVIEWPANEL',
          name: 'list_itempanel',
          id: 'web.master.aa582f43107aa843235',
        },
        orderValueAppDEFieldId: 'px',
        delistDataItems: [
          {
            dataType: 6,
            id: 'quantity',
          },
          {
            dataType: 25,
            id: 'name',
          },
          {
            appDEFieldId: 'id',
            dataType: 25,
            id: 'srfkey',
          },
          {
            appDEFieldId: 'name',
            dataType: 25,
            id: 'srfmajortext',
          },
          {
            appDEFieldId: 'region_id',
            dataType: 25,
            id: 'region_id',
          },
          {
            appDEFieldId: 'category_type',
            dataType: 25,
            id: 'srfdatatype',
          },
          {
            appDEFieldId: 'category_type',
            dataType: 25,
            id: 'category_type',
          },
          {
            appDEFieldId: 'category_id',
            dataType: 25,
            id: 'category_id',
          },
          {
            appDEFieldId: 'wf_status',
            frontCodeListId: 'web.wfstates',
            dataType: 25,
            id: 'wf_status',
          },
        ],
        pagingSize: 1000,
        hasWFDataItems: true,
        showHeader: true,
        navViewPos: 'NONE',
        createControlAction: {
          appDEMethodId: 'create',
          appDataEntityId: 'web.master',
          id: 'create',
        },
        fetchControlAction: {
          appDEMethodId: 'fetch_default',
          appDataEntityId: 'web.master',
          id: 'fetch',
        },
        getControlAction: {
          appDEMethodId: 'get',
          appDataEntityId: 'web.master',
          id: 'load',
        },
        removeControlAction: {
          appDEMethodId: 'remove',
          appDataEntityId: 'web.master',
          id: 'remove',
        },
        updateControlAction: {
          appDEMethodId: 'update',
          appDataEntityId: 'web.master',
          id: 'update',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'muldata_raw_list',
        controlType: 'LIST',
        logicName: 'muldata_raw_list',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'list',
        },
        modelId: 'a94392a45908fc7ac4065ba1ac7af7e8',
        modelType: 'PSDELIST',
        name: 'list',
        id: 'web.master.muldata_raw_list',
      },
      {
        capLanguageRes: {
          lanResTag: 'DE.LNAME.MASTER',
        },
        caption: '面板_多项数据容器（仅数据）',
        codeName: 'panel_multi_data_container_raw_captionbar',
        controlType: 'CAPTIONBAR',
        appDataEntityId: 'web.master',
        controlParam: {},
        name: 'captionbar',
        id: 'panel_multi_data_container_raw_captionbar',
      },
    ],
    codeName: 'afd26d465f887ba3927',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: 'panel_multi_data_container_raw',
    appDataEntityId: 'web.master',
    controlParam: {},
    modelId: 'e2d61b4348906e2c7cd08754a7eecd12',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    name: 'layoutpanel',
    id: 'afd26d465f887ba3927',
  },
  title: '面板_多项数据容器（仅数据）',
  viewStyle: 'DEFAULT',
  viewType: 'DECUSTOMVIEW',
  enableDP: true,
  showCaptionBar: true,
  modelId: '1faf5c2a81576150c62ec2687b9a861c',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERpanel_multi_data_container_raw',
  id: 'web.master_panel_multi_data_container_raw',
};
